projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ecc431
)
Fix GtkCalendar drawing
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 15 May 2014 00:37:57 +0000
(20:37 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 15 May 2014 00:38:55 +0000
(20:38 -0400)
A gtk_widget_get_allocation call was unintentionally
dropped in
5cb43c70f776a7
.
gtk/gtkcalendar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcalendar.c
b/gtk/gtkcalendar.c
index 3ba328e8ece3a5314ede7fd8fb48207cbe2b1c95..c843c84e92b5b7c38501cac00006ecad6be2c483 100644
(file)
--- a/
gtk/gtkcalendar.c
+++ b/
gtk/gtkcalendar.c
@@
-1257,6
+1257,7
@@
calendar_top_y_for_row (GtkCalendar *calendar,
gint inner_border = calendar_get_inner_border (calendar);
GtkBorder padding;
+ gtk_widget_get_allocation (GTK_WIDGET (calendar), &allocation);
get_component_paddings (calendar, &padding, NULL, NULL, NULL);
return allocation.height